@keyframes mymove {
  from {
    top: -100px;
  }
  to {
    top: 0;
  }
}
.topnav {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 2000;
  margin: 0 20px 25px 0;
  display: none;
}

header {
  width: 100%;
  height: 181.5px;
  background-color: #1f1f1f;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
}
.top-fixed {
  margin-top: -30px;
  position: fixed;
  animation: mymove 0.5s;
}

#EditionCenter {
  width: 1440px;
  height: 179.5px;
  margin: 0 auto;
  .top-notice {
    width: 1440px;
    height: 30px;
    overflow: hidden;
    .horn {
      margin: 6px 15px 0 5px;
      width: 16px;
      height: 16px;
      background: url(../images/ico-comm.png) no-repeat;
      background-position: 0 -95px;
      float: left;
    }
    .scrollingsubtitles {
      height: 30px;
      width: 1240px;
      line-height: 30px;
      font-size: 14px;
      color: #a7a7a7;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-top: 1px;
      ul {
        width: 1240px;
        height: 30px;
        margin-top: 1px;

        li {
          line-height: 30px;
          font-size: 14px;
          color: #a7a7a7;
          white-space: nowrap;
          margin-top: 0px;
        }
      }
    }
  }
  /* header中间区域 */
  .center-notice {
    width: 100%;
    height: 99.5px;
    border-bottom: 2px solid #292929;
    overflow: hidden;
    position: relative;
    .log-in-now {
      width: 83px;
      height: 60px;
      margin-top: 39px;
      margin-right: 20px;
      line-height: 40px;
      font-size: 14px;
      .i-person {
        background: url(../images/ico-comm.png) no-repeat;
        margin-top: -2px;
        display: inline-block;
        width: 21px;
        height: 21px;
        background-position: 0 -279px;
        vertical-align: middle;
      }
      a {
        color: white;
      }
    }
    .pubg-logo img {
      position: absolute;
      top: 23px;
      left: 46%;
    }
    .blk_header_search {
      margin: 38px 0 0 0;
      width: 310px;
      height: 34px;
      background: #383838;
      position: absolute;
      right: 0;
      top: 0;
      .top-soso {
        margin-left: 9px;
        width: 228px;
        height: 34px;
        line-height: 34px;
        font-size: 14px;
        border: none;
        border: none;
        background: none;
        padding: 0;
        color: #aaa;
      }
      .btn-search {
        position: absolute;
        top: 0;
        right: 0;
        display: block;
        width: 73px;
        height: 34px;
        background: #f3ad14;
        text-align: center;
      }
      .i-search {
        position: absolute;
        top: 7px;
        right: 22px;
        display: block;
        width: 20px;
        height: 20px;
        background: url(../images/spr-com.png) no-repeat;
        background-position: -44px -26px;
      }
    }
  }
  .bottom-notice {
    width: 100%;
    height: 50px;
    position: relative;
    .all-class {
      width: 110px;
      height: 100%;
      line-height: 50px;
      font-size: 14px;
      color: #fff;
      .i-all {
        margin-right: 18px;
        vertical-align: middle;
        display: inline-block;
        width: 22px;
        height: 17px;
        background: url(../images/spr-com.png);
        background-position: -26px -2px;
      }
    }
    .menulist {
      position: absolute;
      top: 0;
      left: 50%;
      margin-left: -251px;
      width: auto;
      height: 100%;
      li {
        float: left;
        margin: 0 25px;
        width: auto;
        height: 100%;
        line-height: 50px;

        a {
          display: block;
          width: 100%;
          height: 100%;
          color: #fff;
          font-size: 14px;
          text-align: center;
          &:hover {
            color: #f3ad14;
          }
        }
      }
    }
    .cartbox {
      width: 93px;
      line-height: 50px;
      font-size: 14px;
      color: #f2f2f2;
      position: absolute;
      right: 0px;
      top: 0px;
      .i-cart {
        float: left;
        background: url(../images/spr-com.png) no-repeat;
        margin-right: 7px;
        margin-top: 14px;
        display: block;
        width: 20px;
        height: 20px;
        background-position: -2px -2px;
      }
      .cart-num {
        padding-left: 5px;
        color: #f3ad14;
        text-align: center;
        float: right;
      }
    }
  }
}
/* 内容区域 */
/* 
 使用方法
@include triangle(Down,3px,#6c6c6c);
@include vCenter(); 
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* 预定义字号 */
$font-s: 14px;
$font-m: 16px;
$font-l: 18px;
$font-xl: 20px;
$font-title: 28px;
$font-price: 36px;
/*水平垂直居中*/
@mixin center() {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
/*水平居中*/
@mixin hCenter() {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
/*垂直居中*/
@mixin vCenter() {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
/*三角形*/
@mixin triangle($dir, $width, $color) {
  width: 0;
  height: 0;
  border-width: $width;
  border-style: solid solid solid solid;
  @if ($dir == Up) {
    border-color: transparent transparent $color transparent;
  } @else if($dir == Down) {
    border-color: $color transparent transparent transparent;
  } @else if($dir == Left) {
    border-color: transparent $color transparent transparent;
  } @else if($dir == Right) {
    border-color: transparent transparent transparent $color;
  }
}
/* 容器版心 */
.container {
  width: 1280px;
  margin: 0 auto;
}
a {
  text-decoration: none;
  color: #000;
}
body {
  color: #333;
  font: 14px/30px Microsoft YaHei;
  line-height: 30px;
}
/* 主容器 */
.comm {
  margin-top: 181px;
  .mainWrap {
    .detail_nav {
      width: 100%;
      padding: 30px 0 50px;
      color: #999;
      a {
        color: #999;
        &.cur {
          color: #333;
        }
      }
    }
    /* 商品介绍 */
    .product_intro {
      padding: 0 30px;
      width: 100%;
      display: flex;
      justify-content: space-between;
      /* 商品图片预览板块 */
      .product_preview {
        overflow: hidden;
        width: 460px;
        .goodsImg {
          width: 100%;
          height: 438px;
          border: 1px solid #f2f2f2;
          &:hover {
            cursor: url("../images/zoomin.png"), pointer;
          }
          img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }
        .previewBox {
          width: 100%;
          height: 100px;
          display: flex;
          justify-content: flex-start;
          margin-top: 50px;
          a {
            width: 74px;
            height: 70px;
            margin-right: 10px;
            border: 1px solid #eee;
            &.curPreview {
              border-width: 3px;
              border-color: #e69800;
              img {
                border: none;
              }
            }
            &:hover {
              border-width: 3px;
              border-color: #e69800;
              img {
                border: none;
              }
            }
            img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              border: 2px solid #fff;
            }
          }
        }
      }
      /* 商品规格信息板块 */
      .product_info {
        width: 720px;
        .pord_name {
          font-size: $font-title;
          font-weight: 400;
        }
        .pord_price {
          margin-top: 25px;
          padding-bottom: 10px;
          border-bottom: 1px dashed #eee;
          .pord_dispri {
            color: #f74f4a;
            font-size: $font-price;
          }
          .pord_orpri {
            margin-left: 10px;
            font-size: $font-m;
            color: #999;
            text-decoration: line-through;
          }
        }
        .pord_detailbox {
          display: flex;
          border-bottom: 1px dashed #eee;
          justify-content: space-between;
          align-items: center;
          height: 65px;
          color: #999;
          span {
            color: #333;
          }
          .icon-pingfen {
            font-size: $font-xl;
            color: #eee;
            cursor: pointer;
            &.show {
              color: #ffd92c;
            }
          }
          .star {
            font-size: $font-xl;
            color: #ffd92c;
          }
        }
        .pord_size {
          display: flex;
          height: 60px;
          justify-content: flex-start;
          align-items: center;
          & > span {
            color: #999;
          }
          ul {
            margin-left: 20px;
            list-style: none;
            li {
              cursor: pointer;
              margin-right: 20px;
              width: 78px;
              height: 34px;
              text-align: center;
              line-height: 34px;
              float: left;
              border: 1px solid #eee;
              &.cursize {
                border: 2px solid #ffd92c;
              }
            }
          }
        }
        .pord_num {
          height: 60px;
          color: #999;
          display: flex;
          align-items: center;
          .edit {
            display: flex;
            justify-content: center;
            width: 130px;
            height: 36px;
            border: 1px solid #eee;
            margin: 0 20px;
            a {
              text-align: center;
              flex-grow: 6;
              font-size: $font-l;
              font-weight: bold;
            }
            input {
              text-align: center;
              flex-grow: 5;
              border: none;
              border-right: 1px solid #eee;
              border-left: 1px solid #eee;
              &:focus {
                outline: none;
              }
            }
          }
        }
        .pord_btn {
          margin-top: 20px;
          display: flex;
          align-items: center;
          .add {
            cursor: pointer;
            width: 200px;
            height: 56px;
            background: #000;
            border: none;
            margin-right: 20px;
            color: #fff;
            font-size: $font-xl;
            &:hover {
              opacity: 0.9;
            }
          }
          .buy {
            cursor: pointer;
            width: 200px;
            height: 56px;
            background: #e69800;
            border: none;
            margin-right: 20px;
            color: #fff;
            font-size: $font-xl;
            &:hover {
              opacity: 0.9;
            }
          }
          .collect {
            cursor: pointer;
            width: 84px;
            height: 30px;
            line-height: 28px;
            border: 2px solid #ddd;
            border-radius: 30px;
            font-size: 14px;
            color: #888;
            background: none;
            vertical-align: middle;
            i {
              margin-right: 5px;
              color: #ddd;
            }
          }
        }
      }
    }
    /* tab选项卡 */
    .product_tab {
      padding: 0 30px;
      width: 100%;
      .tab_nav {
        width: 100%;
        height: 72px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-bottom: 1px solid #eee;
        .items {
          width: 235px;
          height: 71px;
          line-height: 71px;
          text-align: center;
          color: #333;
          font-size: 18px;
          cursor: pointer;
          position: relative;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
          &.curtab {
            &::after {
              position: absolute;
              bottom: -1px;
              left: 50%;
              transform: translateX(-50%);
              display: block;
              content: "";
              width: 40px;
              height: 5px;
              background: #e69800;
            }
          }
        }
      }
      .tab_content {
        width: 100%;
        padding: 10px;
        .content_items {
          color: #777;
          display: none;
          .parameter {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            li {
              width: 23%;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
            }
          }
          .detailbox {
            text-align: center;
          }
          .comment_box {
            text-align: center;
            font-size: $font-xl;
            i {
              font-size: 25px;
              color: #eee;
            }
            .start {
              margin-left: 10px;
              color: #ffca11;
              font-size: 28px;
            }
          }
          .contact {
            & > p {
              margin-bottom: 10px;
              button {
                cursor: pointer;
                margin-bottom: 10px;
                display: block;
                width: 100px;
                height: 28px;
                line-height: 28px;
                border: 1px solid #eee;
                border-radius: 2px;
                background: none;
                color: #777;
                text-align: center;
              }
            }
          }
          &.curcontent {
            display: block;
          }
        }
      }
    }
  }
}

.footer {
  background: #1b1b1b;
  color: #777;
  font-size: 12px;
  line-height: 24px;
  margin-top: 40px;
  overflow: hidden;
}

.footer .mid {
  border-bottom: 1px solid #606060;
}

.mid {
  width: 1280px;
  margin: 0 auto;
  position: relative;
}

.footer a {
  color: #a8a8a8;
}

.footer-djc img {
  display: block;
  width: 187px;
  height: 56px;
}

.footer-djc {
  margin-top: 10px;
  width: 213px;
  height: 64px;
  display: block;
}

.footer-info {
  height: 135px;
  width: 395px;
  font-size: 14px;
  line-height: 30px;
  margin: 50px 0 0 20px;
  border-left: 1px solid #606060;
  border-right: 1px solid #606060;
  float: left;
}

.footer-info li {
  width: 118px;
  height: 55px;
  padding: 0 38px;
  float: left;
}

.footer-code {
  line-height: 62px;
  padding: 50px 0 20px 33px;
  float: left;
}

.footer-code li {
  float: left;
  font-size: 16px;
  color: #fff;
  padding: 0 45px;
  text-align: center;
}

.footer a:hover {
  color: #fff;
}

.footer-code li img {
  display: block;
}

.footer-code .pr0 {
  padding-right: 0;
}

#footer_ied {
  background: #1b1b1b;
  font-size: 12px;
  line-height: 24px;
  padding: 30px 0 40px;
  text-align: center;
}

#footer_ied p {
  color: #777;
}

#footer_ied a {
  color: #777;
}

#footer_ied a:hover {
  color: white;
}

.topnav a {
  display: block;
  border: 1px solid #dfdfdf;
  background: #f5f5f5;
  width: 43px;
  height: 43px;
  text-align: center;
  overflow: hidden;
  i.btn-top {
    display: block;
    width: 30px;
    height: 30px;
    background: url(../images/icons.png) no-repeat;
    background-position: 0 -321px;
    margin: 0 auto;
    margin-top: 12px;
    transition: all 0.2s;
  }
  &:hover {
    background: #7f4ee5;
    color: #fff;
    i.btn-top {
      margin-top: 8px;
      background: url(../images/icons.png) no-repeat;
      background-position: 0 -355px;
      width: 30px;
    }
  }
}
